﻿@model GameSchool.Models.Common.Notification

@{
    ViewBag.Title = "DetailsNotification";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<h2>DetailsNotification</h2>

<fieldset>
    <legend>Notification</legend>

    <div class="display-label">Nr. námskeiðs</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.CourseId)
    </div>

    <div class="display-label">Titill</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Title)
    </div>

    <div class="display-label">Skilaboð</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.NotificationMessage)
    </div>

</fieldset>
<p>
    @Html.ActionLink("Edit", "EditNotification", new { id=Model.NotificationId }) |
    @Html.ActionLink("Aftur í lista", "IndexNotification")
</p>
